#!/bin/bash

default_bin_path=/usr/bin
bin_path=$default_bin_path
data_path=/usr/share
project_name=gpf
################################################################################

# 拷贝脚本到bin目录
cp -v "$project_name".sh $bin_path/"$project_name"

# 删除原有安装数据
rm -rfv $data_path/"$project_name"

#mkdir -pv "$data_path/$project_name"

# 拷贝子命令到数据目录
cp -rv data "$data_path/$project_name"

#mkdir -pv ~/."$project_name"

# 拷贝completion.bash文件
#cp -v tcm-completion.bash ~/.tcm-completion
